cmake_minimum_required(VERSION 2.8.3)
project(sync_example)

find_package(catkin REQUIRED COMPONENTS message_filters roscpp sensor_msgs pcl_ros)
find_package(OpenCV REQUIRED)

catkin_package(
  CATKIN_DEPENDS message_filters roscpp sensor_msgs pcl_ros
)

include_directories(${catkin_INCLUDE_DIRS})
link_libraries(stdc++fs)

#add_executable(sync_example src/sync_example_1lidar1img_nopcl_3lidar.cpp)
# add_executable(sync_example src/sync_example_1lidar1img_nopcl.cpp)
add_executable(sync_example src/sync_example_9sensors.cpp)
# add_executable(sync_example src/sync_example_6cam.cpp)

target_link_libraries(sync_example ${catkin_LIBRARIES} ${OpenCV_LIBS})
